#File: fun_table.py - used to create environments
#JGordon & Co

class fun_table:
	def __init__(self,tabla_globl,parametros): 
            "Initialize a new Account instance" 
            self.g = tabla_globl
            self.l = parametros 
	def __contains__(self, elt):
	    return (elt in self.g) or (elt in self.l) 
	def __getitem__(self, k):
	    if (k in self.l):
		return self.l[k]
	    else:
		return self.g[k]
	def __setitem__(self, k, value):
	    self.l[k] = value
	
	
	
	
	
	